]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Remove unnecessary bind constraint
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 19 Feb 2020 12:20:05 +0000 (09:20 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 19 Feb 2020 12:20:05 +0000 (09:20 -0300)
commitb8f8e1710bcdd3bc5d07d5cefc6c3ab97b04c10d
treefc0117e7239c1e510bfe6c9ae303c8cffe6f2cd8
parent8b0a67fe64c057a60f81cf47e0438eef8b408ec3
appDisplay: Remove unnecessary bind constraint

Now that the bind constraint changes the preferred size of
the actor, a major flaw in the AppDisplay code was exposed:
the folder dialog depends on the preferred size of a parent,
and the parent depends on the preferred size of the folder
dialog.

While we know this is not actually true, we shouldn't rely
on broken behavior to achieve this result. What's interesting
is that the bind constraint used by the folder dialog is a
relic of the development phase; we now control the position
and size of the dialog with a combination of CSS, and alignment.

Remove the unnecessary bind constraint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1027
js/ui/appDisplay.js